import { defineUniPages } from '@uni-helper/vite-plugin-uni-pages'

export default defineUniPages({
  pages: [],
  easycom: {
    autoscan: true,
    custom: {
      '^uv-(.*)': '@climblee/uv-ui/components/uv-$1/uv-$1.vue',
    },
  },
  globalStyle: {
    backgroundColor: '#F8F8F8',
    navigationBarBackgroundColor: '#4999F7',
    navigationBarTextStyle: 'white',
  },
  tabBar: {
    backgroundColor: '#FFFFFF',
    borderStyle: 'white',
    color: '#999999',
    selectedColor: '#4999F7',
    list: [
      {
        pagePath: 'pages/home',
        iconPath: 'static/images/tabBar/tab_home_0.png',
        selectedIconPath: 'static/images/tabBar/tab_home_1.png',
        text: '首页',
      },
      {
        pagePath: 'pages/about',
        iconPath: 'static/images/tabBar/tab_hospital_0.png',
        selectedIconPath: 'static/images/tabBar/tab_hospital_1.png',
        text: '关于医院',
      },
      {
        pagePath: 'pages/projects',
        iconPath: 'static/images/tabBar/tab_record_0.png',
        selectedIconPath: 'static/images/tabBar/tab_record_1.png',
        text: '服务项目',
      },
      {
        pagePath: 'pages/profile',
        iconPath: 'static/images/tabBar/tab_profile_0.png',
        selectedIconPath: 'static/images/tabBar/tab_profile_1.png',
        text: '我的',
      },
    ],
  },
})
